package com.groupbuying.weblogback.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zmlmagic
 * @date 2019/10/8 11:58 AM
 * @company 蒙泰互联网公司
 * @des 小程序客户端环境配置
 **/

@RestController
@RequestMapping("/userConfing")
public class UserConfigController {
    @Value("${ggydCustomerConfig:www}")
    private String userConfig;

    /**
     * @param {String} title 标题
     * @param {String} body  内容
     */
    @GetMapping("/getEvnConfig")
    public String getEvnConfig() {
        return userConfig;
    }
}
